package com.ruoyi.course.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程题目对象 sys_course_student_topic
 * 
 * @author yjf
 * @date 2023-05-31
 */
public class SysStudentTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学员题目ID */
    private Long studentTopicId;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private Long courseNo;

    /** 课程试卷ID */
    @Excel(name = "课程试卷ID")
    private Long coursePaperId;

    /** 课程题目ID */
    @Excel(name = "课程题目ID")
    private Long courseTopicId;

    /** 学员ID */
    @Excel(name = "学员ID")
    private Long userId;

    /** 题目答案 */
    @Excel(name = "题目答案")
    private String topicAnswer;

    /** 状态 */
    @Excel(name = "状态")
    private Integer topicStatus;

    /** 正确状态 */
    @Excel(name = "状态", readConverterExp = "0=正确,1=错误", type = Excel.Type.EXPORT)
    private String correctStatus;

    /** 题目说明 */
    @Excel(name = "题目说明")
    private String topicRemark;

    /** 删除标志 */
    private String delFlag;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 学员昵称 */
    @Excel(name = "学员昵称")
    private String nickName;
    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String paperName;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String topicName;

    /** 题目说明 */
    private String topicIntro;

    /** 题目类型 */
    private Integer topicType;

    /** 题目难度 */
    private Integer topicHard;

    public String getTopicIntro() {
        return topicIntro;
    }

    public void setTopicIntro(String topicIntro) {
        this.topicIntro = topicIntro;
    }

    public Integer getTopicType() {
        return topicType;
    }

    public void setTopicType(Integer topicType) {
        this.topicType = topicType;
    }

    public Integer getTopicHard() {
        return topicHard;
    }

    public void setTopicHard(Integer topicHard) {
        this.topicHard = topicHard;
    }

    public String getCorrectStatus() {
        return correctStatus;
    }

    public void setCorrectStatus(String correctStatus) {
        this.correctStatus = correctStatus;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setStudentTopicId(Long studentTopicId)
    {
        this.studentTopicId = studentTopicId;
    }

    public Long getStudentTopicId() 
    {
        return studentTopicId;
    }

    public Long getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(Long courseNo) {
        this.courseNo = courseNo;
    }

    public void setCoursePaperId(Long coursePaperId)
    {
        this.coursePaperId = coursePaperId;
    }

    public Long getCoursePaperId() 
    {
        return coursePaperId;
    }
    public void setCourseTopicId(Long courseTopicId) 
    {
        this.courseTopicId = courseTopicId;
    }

    public Long getCourseTopicId() 
    {
        return courseTopicId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTopicAnswer(String topicAnswer) 
    {
        this.topicAnswer = topicAnswer;
    }

    public String getTopicAnswer() 
    {
        return topicAnswer;
    }
    public void setTopicStatus(Integer topicStatus) 
    {
        this.topicStatus = topicStatus;
    }

    public Integer getTopicStatus() 
    {
        return topicStatus;
    }
    public void setTopicRemark(String topicRemark) 
    {
        this.topicRemark = topicRemark;
    }

    public String getTopicRemark() 
    {
        return topicRemark;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentTopicId", getStudentTopicId())
            .append("courseNo", getCourseNo())
            .append("coursePaperId", getCoursePaperId())
            .append("courseTopicId", getCourseTopicId())
            .append("userId", getUserId())
            .append("topicAnswer", getTopicAnswer())
            .append("topicStatus", getTopicStatus())
            .append("topicRemark", getTopicRemark())
            .append("delFlag", getDelFlag())
            .append("beginTime", getBeginTime())
            .append("finishTime", getFinishTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
